// 基于template/src/widgets/{{appEntities}}/{{ctrls@TREEVIEW}}-tree/{{spinalCase ctrl.codeName}}-tree-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

class BookdataControlVO extends ControlVOBase {

    constructor(data: any){
        super(data);
        //  树自持属性
        this.$ownKeys = ['ibizbook', 'array', 'createman', 'ibizbookname', 'ibizbookid', 'createdate', 'updateman', 'updatedate', 'author', 'price', 'press', 'type', 'booknumber', 'subtext', 'lendouttime', 'returntime', 'icon', 'sailstate', 'borrowstatus', 'stepstatus', 'borrower', 'borrowway', 'returnlib', 'borrowerid', 'borrower1', 'borrower1id', 'borrower2', 'borrower2_id', 'borrower3', 'borrower3_id', 'tag'];
    }
    get id() {
        return this.$DO.ibizbookid;
    }
    set id(value: any) {
        this.$DO.ibizbookid = value;
    }
    get text() {
        return this.$DO.ibizbookname;
    }
    set text(value: any) {
        this.$DO.ibizbookname = value;
    }
    set ibizbookid(value: any) {
        this.$DO.ibizbookid = value;
    }
    get ibizbookid() {
        return this.$DO.ibizbookid;
    }
    set srfkey(value: any) {
        this.$DO.ibizbookid = value;
    }
    get srfkey() {
        return this.$DO.ibizbookid;
    }
    set ibizbookname(value: any) {
        this.$DO.ibizbookname = value;
    }
    get ibizbookname() {
        return this.$DO.ibizbookname;
    }
}

export const TreeControlVO = [{ name: 'BookdataControlVO', controlVO: BookdataControlVO }]